<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ include file="../include/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
  	<title>菜肴类别</title>
  	<%@ include file="../include/jsCss.jsp" %> 
  </head>
  <body>
  	<form action="mealmenutype!mealMenuTypeAddOrUpdate.html" method="post">
			菜肴类别
			<hr />
			<table>
				<tr>
					<td>类别名称：</td>
					<td>
						<input type="text" name="menuTypeName" value="${mmtDto.menuTypeName }"/>
						<input type="hidden" name="restaurantId" value="${mmtDto.restaurantId }"/>
						<input type="hidden" name="id" value="${mmtDto.id }"/>
					</td>
				</tr>
				
				<tr>
					<td  align="right">状态：</td>
					<td>
						<select name="status">
							<s:if test="status == 0"> 
								<option value="0" selected="selected">有效</option>
							</s:if>
							<s:else>
								<option value="0">有效</option>
							</s:else>
							<s:if test="status == 1">
								<option value="1" selected="selected">无效</option>
							</s:if>
							<s:else>
								<option value="1">无效</option>
							</s:else>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" value="保存" />
					</td>
				</tr>
			</table>
		</form> 
	</body>
</html>